<?php
/**
 * Created by PhpStorm.
 * User: shuixian
 * Date: 2019/11/20
 * Time: 18:29
 */


$addUcenterCompoentList =  event('AddUcenterCompoent');
$list = [];
foreach ($addUcenterCompoentList as $item){
    $list = array_merge($list,$item);
}

//模块组件 后台DIY页面的左侧
return [
    [
        "title" => "业务组件",
        'type' => 'ucenterCompoent',
        "data" => $list
    ],

];